<?php
header('Content-type: text/json');
include_once 'checkloginstatus.php';
include_once '../mysqldb/MySqlHelper.php';
$sql='select ID as NODEID,NavName as NODENAME,PID,EditUrl as URL,Target as TARGET from NavTree';
$MySqlHelper = new MySqlHelper();
$arr = $MySqlHelper->GetJsonData($sql);
if(count($arr)>0)
{
	echo json_encode($arr);
}